package cn.wenzy.aurora.framework.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class PageVO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 当前页码
     */
    private long pageNo = 1;

    /**
     * 每页记录数据
     */
    private long pageSize = 10;

    /**
     * 总记录数
     */
    private long total;

    /**
     * 总页数
     */
    private long pages;

}
